define(function  (require, exports, module) {
    require("../../../../database/registerData");
    function minuteInfo() {
        // 所在地区
        var info = "";
        var communityList = Message.usersInfo.communityList;
        var numberList = Message.usersInfo.numberList;
        info += "<div class='entry-info entry-info-name'>" +
            "<select class='total-select' id='areaNowId'>" +
            "<option value selected disabled class='hide'>请选择</option>";
        for(var i=0;i<communityList.length;i++){
            info += "<option value="+communityList[i]+">"+communityList[i]+"</option>"
        }
        info += "</select>" + "</div>";

        $.template( "minuteInfoTemplate", info );
        $.tmpl("minuteInfoTemplate", info).appendTo("#inputFiled-zone");
        //学校人数
        var peopleNum = "";
        peopleNum += "<div class='entry-info entry-info-change-num entry-info-num'>" +
            "<select name='peopleNum' class='total-select'>" +
            "<option value selected disabled class='hide'>请选择</option>";
        for(var j=0;j<numberList.length;j++){
            peopleNum += "<option value="+numberList[j]+">"+numberList[j]+"</option>"
        }
        peopleNum += "</select>" + "</div>"
        $.template( "peopleInfoTemplate", peopleNum );
        $.tmpl("peopleInfoTemplate", peopleNum).appendTo("#inputFiled-peopleNum");
    }
    module.exports = minuteInfo();
});